﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS_DATABASE_MYSQL.MappingClass.BaseClass
{
    public class wms_base
    {
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int key { get; set; }
        [SugarColumn(ColumnDataType = "Nvarchar(64)")]
        public string? sn { get; set; } = "";
        [SugarColumn(ColumnDataType = "datetime")]
        public DateTime time { get; set; }//一般为出库时间，标定时间，维修时间，报废时间
        [SugarColumn(ColumnDataType = "tinyint(3) unsigned")]
        public int count { get; set; }//数量，最多255
    }
}
